<?php

// 分销钩子
$distributionHooks = [

  //注册后
  'xykeep_register_after' => [            
    'addons\xykeep\listener\Distribution'
  ],

  //分享后
  'xykeep_share_after' => [            
    'addons\xykeep\listener\Distribution'
  ],


  //订单支付成功后
  'xykeep_order_payed_after' => [            
    'addons\xykeep\listener\Distribution',
    'addons\xykeep\listener\Order'
  ],

  //订单退款
  'xykeep_order_refund_after' => [
     'addons\xykeep\listener\RefundOrder'
  ],

  //取消订单&退款 回退优惠券，课包，座位
  'xykeep_order_back_after' => [
      'addons\xykeep\listener\Order'
  ],

  //订单确认收货或者核销
  'xykeep_order_over_after' => [
    'addons\xykeep\listener\Order'
  ],

  
];

return $distributionHooks;
